package util;

/**
 * 常量
 * @author WUJA13
 *
 */
public class Constants {

	/**
	 * Oracle 本地数据库连接配置
	 */
	public static String ORACLE_CLASSNAME = "oracle.jdbc.OracleDriver";
	//public static String ORACLE_URL = "jdbc:oracle:thin:@zha-ita114-w7:1521:wtip";
	public static String ORACLE_URL = "jdbc:oracle:thin:@10.222.29.189:1521:xe";
	public static String ORACLE_USER = "nancy";
	public static String ORACLE_PSD = "123";
	
	/**
	 * Oracle JNDI远程连接配置
	 */
	public static String ORACLE_JDNI_PATH ="java:/comp/env/jdbc/myoracle";
	/**
	 * <!-- Tomcat context.xml 中配置 -->
	 * <Resource name="jdbc/myoracle" auth="Container"
              type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
              url="jdbc:oracle:thin:@10.222.29.189:1521:xe"
              username="tommy" password="123" maxActive="20" maxIdle="10"
              maxWait="-1"/>
	 */
	
	
}
